Skip to content

ctron/csaf-visualizer

Repository files navigation

CSAF 2.0 Visualizer

CI GitHub Pages License

A browser-based visualizer for CSAF 2.0 (Common Security Advisory Framework) JSON documents.

Features

  • Overview — document metadata, vulnerability severity summary, product counts, product status donut chart, vulnerability cards with affected/fixed product badges and remediation cards
  • Product Tree — interactive zoomable/pannable tree of the CSAF product tree with branch categories, product identification helpers (PURL, CPE, hashes, etc.)
  • Relationships — tabular view of all product relationships
  • Relationship Tree — interactive zoomable/pannable tree of product relationships grouped by platform and branch ancestors

Interactions

  • Click any product badge in the overview to navigate to the Relationship Tree and highlight that node
  • Hover a product badge to highlight related badges across affected, fixed, and remediation sections
  • Click tree nodes to open a product detail panel with full identification helper data
  • Expand/collapse long product lists with the +N more toggle
  • Browser back button returns to the previous tab

Usage

Paste a CSAF 2.0 JSON document into the text area on the left and click Parse & Visualize.

Loading from a URL

Click Load from URL… in the sidebar to expand the URL loader. Enter the document URL and optionally a CORS proxy, then click Load.

You can also pass these as query parameters to share a direct link:

Parameter Description
url URL of the CSAF JSON document to load
cors-proxy CORS proxy prefix to prepend to the URL (optional)

The target URL is URL-encoded and appended directly to the proxy prefix, so the proxy field should end with the appropriate separator, e.g.:

Development

npm install
npm run dev

Build

npm run build

Output is written to dist/.

Deployment

The app is automatically deployed to GitHub Pages on every push to main via GitHub Actions. Enable Pages in your repository settings under Settings → Pages → Source → GitHub Actions.

Tech Stack

About

A UI for visualizing CSAF documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors